gskglcompiler.c: Relax check for GL 3.x+ legacy contexts
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 22 Nov 2021 10:41:58 +0000 (18:41 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 1 Dec 2021 09:29:02 +0000 (17:29 +0800)
commita619e8af4ab5688133675deb60e8a0fb1df53869
treeb90d9c928e62dc0cc4953222700627ffb19ebbcf
parent2611a996ff6c0a2bed340feb6a434a03ca7545ec
gskglcompiler.c: Relax check for GL 3.x+ legacy contexts

On Windows with nVidia drivers at least, when we create a legacy context
via wglCreateContext(), we may still get a (W)GL 4.x context.  Allow
such contexts to also use GLSL version 130 instead of 110, so that
things do continue to work.
gsk/gl/gskglcompiler.c